const jd = require('../mng/jd')
const jingdong = require('../mng/jingdong')
const logger = require('log4js').getLogger()
require('../util/util')

// jd.union.open.order.query('2019030123').then(result => {
//     logger.debug('[' + __filename + ':' + __line + ']', result.length, result)
// }, result => {
//     logger.error('[' + __filename + ':' + __line + ']', result)
// })

// jingdong.Service.promotion.batch.getcode('https://item.jd.com/30771078478.html')

jd.union.open.promotion.common.get('https://item.jd.com/30771078478.html').then(result => {
    logger.debug('[' + __filename + ':' + __line + ']', result)
})